<template>
  <div>
    <div>{{ count }}</div>
    <button @click="add">+</button>
  </div>
</template>

<script>
export default {
  name: "Demo",
  data() {
    return {
      count: 0,
    };
  },
  methods: {
    add() {
      this.count += 1;
    },
  },
};
</script>
